package com.zdxf.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class SystemInfoDO {
    public SystemInfoDO(int status) {
        this.status = status;
    }

    private int status;
    private int id;
    private String ip;
    private String name;
    // ----------------cpu信息----------------
    private double systemCpuLoad;//cpu系统使用率
    private String systemCpuLoadStr;
    private double userCpuLoad;//cpu用户使用率
    private String userCpuLoadStr;
    private double iowaitCpuLoad;//cpu当前等待率
    private String iowaitCpuLoadStr;
    private double idleCpuLoad;//cpu当前使用率
    private String idleCpuLoadStr;
    private int cpuCount;//cpu核数
    // ----------------操作系统信息----------------
    private String osName;//操作系统名
    private String osArch;//系统架构
    // ----------------主机内存信息----------------
    private long memoryUse;
    private long memoryFree;
    private long memoryTotal;
    private String memoryUseStr;
    private String memoryFreeStr;
    private String memoryTotalStr;
    // ---------------主机硬盘信息----------------
    private long disksTotal;
    private long disksUse;
    private long disksFree;
    private String disksTotalStr;
    private String disksUseStr;
    private String disksFreeStr;
    // ---------------网络信息----------------
    private long netRecv;
    private long netSent;
    private String netSentStr;
    private String netRecvStr;
    // ---------------进程信息----------------
    private int processCount;
    private int threadCount;
    // ---------------系统负载信息----------------
    private double cpuLoad1;
    private double cpuLoad5;
    private double cpuLoad15;
}

